//AI工具类型
export interface TypeItem {
  label: string
  type: string
}

export const TypeList: TypeItem[] = [
  { label: '常用推荐', type: 'common' },
  { label: '文档格式转换', type: 'document' },
  { label: '办公提速', type: 'office' },
  { label: '学习助手', type: 'study' }
]

//AI工具箱
export interface ToolItem {
  id: number
  name: string
  key?: string
  tabKey?: string
  description: string
  colorClass: string
  iconType: 'single' | 'double'
  icon?: string
  iconBgClass?: string
  icon1?: string
  icon1BgClass?: string
  icon2?: string
  icon2BgClass?: string
}

export const Tools: ToolItem[] = [
  {
    id: 1,
    name: 'OCR文字提取',
    key: 'ocr',
    type: 'common',
    description: '图像文字识别,快速提取图片中的文字内容',
    colorClass: 'border-indigo-500 bg-gradient-to-br from-indigo-50 to-white',
    iconType: 'single',
    icon: '📷',
    iconBgClass: 'bg-indigo-500'
  },
  {
    id: 2,
    name: 'PDF转DOCX',
    key: 'pdf_word',
    type: 'common,document',
    description: 'PDF文件转换为可编辑的DOCX文件',
    colorClass: 'border-red-500 bg-gradient-to-br from-red-50 to-white',
    iconType: 'double',
    icon1: '📄',
    icon1BgClass: 'bg-red-500 text-white',
    icon2: 'W',
    icon2BgClass: 'bg-blue-600 text-white font-bold'
  },
  {
    id: 3,
    name: '审稿',
    key: 'shen_gao',
    type: 'common,office',
    description: '智能检测文章中的语法错误、逻辑问题并提供修改建议',
    colorClass: 'border-green-500 bg-gradient-to-br from-green-50 to-white',
    iconType: 'single',
    icon: '✓',
    iconBgClass: 'bg-green-500 text-white font-bold'
  },
  {
    id: 4,
    name: 'WORD转PDF',
    key: 'word_pdf',
    type: 'common,document',
    description: 'Word快捷转PDF，格式稳定防篡改，易分享',
    colorClass: 'border-blue-600 bg-gradient-to-br from-blue-50 to-white',
    iconType: 'double',
    icon1: 'W',
    icon1BgClass: 'bg-blue-600 text-white font-bold',
    icon2: '📄',
    icon2BgClass: 'bg-red-500 text-white'
  },
  {
    id: 5,
    name: 'PDF转XLSX',
    key: 'pdf_xlsx',
    type: 'common,document',
    description: 'PDF表格精准转Excel，数据可编辑，易分析',
    colorClass: 'border-green-600 bg-gradient-to-br from-green-50 to-white',
    iconType: 'double',
    icon1: '📄',
    icon1BgClass: 'bg-red-500 text-white text-base',
    icon2: '📊',
    icon2BgClass: 'bg-green-500 text-white'
  },
  {
    id: 6,
    name: '智能会议纪要',
    key: 'meeting_minutes',
    type: 'common,office',
    description: '智能整理会议内容，生成结构化会议纪要和待办事项',
    colorClass: 'border-blue-500 bg-gradient-to-br from-blue-50 to-white',
    iconType: 'single',
    icon: '📋',
    iconBgClass: 'bg-blue-500'
  },
  {
    id: 7,
    name: '智能文章摘要',
    key: 'summary',
    type: 'common,office',
    description: '提炼文章核心内容，生成简洁准确的摘要',
    colorClass: 'border-blue-700 bg-gradient-to-br from-blue-50 to-white',
    iconType: 'single',
    icon: '📝',
    iconBgClass: 'bg-blue-700'
  },
  {
    id: 8,
    name: '翻译',
    key: 'fanyi',
    type: 'common,office',
    description: '多语言精准智译',
    colorClass: 'border-cyan-500 bg-gradient-to-br from-cyan-50 to-white',
    iconType: 'single',
    icon: '🌐',
    iconBgClass: 'bg-cyan-500'
  },
  {
    id: 9,
    name: '思维导图',
    key: 'siwei',
    type: 'office',
    description: '文本/文档结构化思维导图，清晰呈现逻辑关系',
    colorClass: 'border-purple-500 bg-gradient-to-br from-purple-50 to-white',
    iconType: 'single',
    icon: '🧠',
    iconBgClass: 'bg-purple-500'
  },
  {
    id: 10,
    name: '文本润色',
    key: 'txt_color',
    type: 'common,office',
    description: '优化文本表达，提升语言流畅度和专业性',
    colorClass: 'border-blue-800 bg-gradient-to-br from-blue-50 to-white',
    iconType: 'single',
    icon: '✨',
    iconBgClass: 'bg-blue-800'
  },
  {
    id: 11,
    name: 'PDF转PPTX',
    key: 'pdf_ppt',
    type: 'document',
    description: 'PDF 转换为 PowerPoint 演示文稿',
    colorClass: 'border-orange-500 bg-gradient-to-br from-orange-50 to-white',
    iconType: 'double',
    icon1: '📄',
    icon1BgClass: 'bg-red-500 text-white text-base',
    icon2: 'P',
    icon2BgClass: 'bg-orange-500 text-white font-bold'
  },
  {
    id: 12,
    name: 'AI总结',
    key: 'ai_summarize',
    type: 'study',
    description: 'AI 快速总结长文本核心观点和关键信息',
    colorClass: 'border-blue-400 bg-gradient-to-br from-blue-50 to-white',
    iconType: 'single',
    icon: '🤖',
    iconBgClass: 'bg-blue-400'
  },
  {
    id: 13,
    name: '音频转文字',
    key: 'voice_txt',
    type: 'study',
    description: '将音频文件中的语音内容转换为可编辑文本 ',
    colorClass: 'border-blue-500 bg-gradient-to-br from-blue-50 to-white',
    iconType: 'double',
    icon1: '🎵',
    icon1BgClass: 'bg-blue-500 text-white',
    icon2: '📝',
    icon2BgClass: 'bg-slate-600 text-white'
  },
  {
    id: 14,
    name: '视频转笔记',
    key: 'video_note',
    type: 'study',
    description: '提取视频中的关键内容，自动生成结构化笔记',
    colorClass: 'border-orange-600 bg-gradient-to-br from-orange-50 to-white',
    iconType: 'double',
    icon1: '🎬',
    icon1BgClass: 'bg-orange-600 text-white',
    icon2: '📓',
    icon2BgClass: 'bg-amber-500 text-white'
  }
]
